package com.htthorizon.model.mapper;

import com.htthorizon.model.domain.FeedBackDto;
import com.htthorizon.model.domain.ModelUse;
import com.htthorizon.model.domain.ModelUseCityDto;
import com.htthorizon.model.request.ModelUseSearch;
import com.htthorizon.model.response.ModelUseDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Brilliant
* @description 针对表【model_use】的数据库操作Mapper
* @createDate 2024-01-03 17:50:44
* @Entity com.htthorizon.model.domain.ModelUse
*/
@Repository
public interface ModelUseMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ModelUse record);

    int insertSelective(ModelUse record);

    ModelUse selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ModelUse record);

    int updateByPrimaryKey(ModelUse record);

    List<ModelUse> list(@Param("modelUseSearch") ModelUseSearch modelUseSearch);

    List<ModelUseDto> getModelUse(@Param("specType") Integer specType,@Param("page")Integer page,@Param("pageSize")Integer pageSize);

    List<ModelUse> listAll();

    int modelException();

    int modelBefore();

    Integer getModelUseCount(@Param("specType")Integer specType);

    List<FeedBackDto> feedBack();

    List<ModelUseCityDto> modelUseCityVo2();
}
